﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AjaxTest.aspx.cs" Inherits="AjaxTest" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script src="scripts/Movies.js" type="text/javascript"></script>
    <asp:DropDownList ID="ddl_Director" runat="server" 
        DataSourceID="SqlDataSource1" DataTextField="Director" 
        DataValueField="Director"  >
    </asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:DatabaseConnectionString %>" 
        SelectCommand="SELECT DISTINCT [Director] FROM [Movie]"></asp:SqlDataSource>
    <asp:Button ID="btn_GoTo" runat="server" Text="Go To" 
        onclick="btn_GoTo_Click" />
    <asp:GridView ID="GridView1" runat="server">
    </asp:GridView>
</asp:Content>

